import java.util.*;
import java.io.*;
public class Test {
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        int max = 1,min = 1;
        int[] ch = new int[128];
        for(char c : s.toCharArray()){
            ch[c]++;
            max = Math.max(ch[c],max);
            min = Math.min(ch[c],min);
        }
        for(int i = 2;i <= Math.sqrt(max-min);i++){
            if((max-min) % i == 0){
                System.out.println("No Answer");
                System.out.println(max-min);
            }
        }
        if(max-min == 0){
            System.out.println("No Answer");
            System.out.println(max-min);
        }else{
            System.out.println("Lucky Word");
            System.out.println(max-min);
        }
    }
}
